package store.lunangangster.bpmn.model.definition;

import java.util.ArrayList;
import java.util.List;

public class LinkEventDefinition extends EventDefinition {

  protected String name;
  protected List<LinkEventDefinition> sources = new ArrayList<>();
  protected LinkEventDefinition target;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public List<LinkEventDefinition> getSources() {
    return sources;
  }

  public void setSources(List<LinkEventDefinition> sources) {
    this.sources = sources;
  }

  public LinkEventDefinition getTarget() {
    return target;
  }

  public void setTarget(LinkEventDefinition target) {
    this.target = target;
  }

  @Override
  public String getModelType() {
    return "LINK_EVENT_DEFINITION";
  }
}
